From 96150f55d5997d5ac98b4a813b429116f26fff9a Mon Sep 17 00:00:00 2001 From: George Sapkin Date: Sun, 27 Apr 2025 16:27:53 +0300 Subject: [PATCH] intltool: drop package - unmaintained upstream - drop confirmed - last local commit: commit: cea49c620dbd53e79d206d0eba7f0dbce92e2d2f Author: Ansuel Smith Date: Wed, 7 Aug 2019 13:42:26 +0200 intltool: fix broken compile on WSL Link: https://github.com/openwrt/packages/pull/26400#issuecomment-2840303503 Signed-off-by: George Sapkin --- libs/intltool/Makefile | 42 ---------------- .../100-optional-perl-xml-parser.patch | 22 --------- .../200-intltool-0.51.0-perl-5.22.patch | 48 ------------------- 3 files changed, 112 deletions(-) delete mode 100644 libs/intltool/Makefile delete mode 100644 libs/intltool/patches/100-optional-perl-xml-parser.patch delete mode 100644 libs/intltool/patches/200-intltool-0.51.0-perl-5.22.patch diff --git a/libs/intltool/Makefile b/libs/intltool/Makefile deleted file mode 100644 index 244f59995a..0000000000 --- a/libs/intltool/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=intltool -PKG_VERSION:=0.51.0 -PKG_RELEASE:=3 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=https://launchpad.net/intltool/trunk/$(PKG_VERSION)/+download -PKG_HASH:=67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd -PKG_MAINTAINER:=Ted Hess - - -HOST_BUILD_DEPENDS:=perl/host -PKG_HOST_ONLY:=1 -HOST_FIXUP:=autoreconf - -include $(INCLUDE_DIR)/host-build.mk -include $(INCLUDE_DIR)/package.mk - -HOST_CONFIGURE_VARS+= \ - PATH="$(STAGING_DIR_HOSTPKG)/bin:$(STAGING_DIR_HOSTPKG)/usr/bin:$(PATH)" - -define Package/intltool - SECTION:=libs - CATEGORY:=Libraries - TITLE:=set of tools to centralize translation using GNU gettext - URL:=https://www.freedesktop.org/wiki/Software/intltool - BUILDONLY:=1 -endef - -define Package/intltool/description - intltool is a set of tools to centralize translation of many different - file formats using GNU gettext-compatible PO files. -endef - -$(eval $(call BuildPackage,intltool)) -$(eval $(call HostBuild)) diff --git a/libs/intltool/patches/100-optional-perl-xml-parser.patch b/libs/intltool/patches/100-optional-perl-xml-parser.patch deleted file mode 100644 index 32474ba708..0000000000 --- a/libs/intltool/patches/100-optional-perl-xml-parser.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -27,7 +27,7 @@ AC_MSG_CHECKING([for XML::Parser]) - if `$PERL -e "require XML::Parser" 2>/dev/null`; then - AC_MSG_RESULT([ok]) - else -- AC_MSG_ERROR([XML::Parser perl module is required for intltool]) -+ AC_MSG_RESULT([XML::Parser perl module is required for intltool]) - fi - AC_PATH_PROG(BZR, bzr) - ---- a/intltool.m4 -+++ b/intltool.m4 -@@ -148,7 +148,7 @@ if test "x$2" != "xno-xml"; then - if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then - AC_MSG_RESULT([ok]) - else -- AC_MSG_ERROR([XML::Parser perl module is required for intltool]) -+ AC_MSG_RESULT([XML::Parser perl module is required for intltool]) - fi - fi - diff --git a/libs/intltool/patches/200-intltool-0.51.0-perl-5.22.patch b/libs/intltool/patches/200-intltool-0.51.0-perl-5.22.patch deleted file mode 100644 index 097c511ce1..0000000000 --- a/libs/intltool/patches/200-intltool-0.51.0-perl-5.22.patch +++ /dev/null @@ -1,48 +0,0 @@ -https://bugs.launchpad.net/intltool/+bug/1490906 - -fix warnings w/newer perl: -Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(.*)\${ <-- HERE ?([A-Z_]+)}?(.*)$/ at /usr/bin/intltool-update line 1065. - ---- a/intltool-update.in -+++ b/intltool-update.in -@@ -1062,7 +1062,7 @@ - } - } - -- if ($str =~ /^(.*)\${?([A-Z_]+)}?(.*)$/) -+ if ($str =~ /^(.*)\$\{?([A-Z_]+)}?(.*)$/) - { - my $rest = $3; - my $untouched = $1; -@@ -1190,10 +1190,10 @@ - $name =~ s/\(+$//g; - $version =~ s/\(+$//g; - -- $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/); -- $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/); -- $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/); -- $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/); -+ $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\$\{?AC_PACKAGE_NAME}?/); -+ $varhash{"PACKAGE"} = $name if (not $name =~ /\$\{?PACKAGE}?/); -+ $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\$\{?AC_PACKAGE_VERSION}?/); -+ $varhash{"VERSION"} = $version if (not $name =~ /\$\{?VERSION}?/); - } - - if ($conf_source =~ /^AC_INIT\(([^,\)]+),([^,\)]+)[,]?([^,\)]+)?/m) -@@ -1219,11 +1219,11 @@ - $version =~ s/\(+$//g; - $bugurl =~ s/\(+$//g if (defined $bugurl); - -- $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/); -- $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/); -- $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/); -- $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/); -- $varhash{"PACKAGE_BUGREPORT"} = $bugurl if (defined $bugurl and not $bugurl =~ /\${?\w+}?/); -+ $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\$\{?AC_PACKAGE_NAME}?/); -+ $varhash{"PACKAGE"} = $name if (not $name =~ /\$\{?PACKAGE}?/); -+ $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\$\{?AC_PACKAGE_VERSION}?/); -+ $varhash{"VERSION"} = $version if (not $name =~ /\$\{?VERSION}?/); -+ $varhash{"PACKAGE_BUGREPORT"} = $bugurl if (defined $bugurl and not $bugurl =~ /\$\{?\w+}?/); - } - - # \s makes this not work, why? -- 2.30.2